package com.wxlgroup.springboot.entity;
import cn.hutool.core.annotation.Alias;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 * @auther:wxl
 * @Date:2022/5/23-05-23-15:40
 * @Description:com.wxlgroup.springboot.entity
 * @Version:1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserDto {      //该实体类为了接受前台传过来的用户登陆验证
    @Alias("用户名")
    private String username;
    @Alias("密码")
    private String password;
    @Alias("昵称")
    private String nickname;
    @Alias("头像路径")
    private String avatarUrl;
    private String token;
}
